package selef.xiafan.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import selef.xiafan.entity.order.OrderItem;

import java.util.List;

/**
 * @author xiafan
 * @version 1.0
 * @date 2021/7/27 18:09
 */
public interface OrderItemDao extends JpaRepository<OrderItem,String> {
    List<OrderItem> findAllByOrderId(String orderId);

    OrderItem findByOrderItemId(String orderItemId);

}
